package com.itheima.reggie.service;

import com.itheima.reggie.domain.Address;

import java.util.List;

public interface AddressService {
    //查询购物车列表
    List<Address> addressList();
//新增地址
    void save(Address address);
//修改默认地址
    void setDefault(Long id);
//查询用户默认收货地址
    Address findDefault();
//回显地址
    Address findAddressId(Long id);
//修改地址
    void updateAddress(Address address);

    //删除地址
    void deleteBatchId(List<Long> ids);

}
